﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestFsObserverAsReferencedAssembly
{
    class Program
    {
        static void Main(string[] args)
        {
            var fsObserver = new FsObserver.FsObserver();
            fsObserver.StartMessage = "TestFsObserverAsReferencedAssembly\r\nWatching {0} (please ensure directory exists) ...";
            fsObserver.WatchPath = @"C:\testwatchpath";
            try
            {
                fsObserver.StartWatcher();
            }
            catch (Exception e)
            {
                Console.WriteLine(e.ToString());
                Console.WriteLine("Press ENTER to exit ...");
                Console.ReadLine();
            }
        }
    }
}
